package com.ssd.api.couponAndIntegral.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

@ApiModel("优惠券使用退回请求模型")
@Data
public class CouponUseBackReqDTO {

    @ApiModelProperty("订单id")
    @Null(message = "订单id为空，请输入订单id")
    private Long ordersId;
    @ApiModelProperty("用户id")
    @Null(message = "用户id为空，请输入用户id")
    private Long userId;
}
